<?php /* Smarty version Smarty-3.1.18, created on 2015-07-10 09:44:09
         compiled from "D:\WWW\yf_qiaqia\Admin\View\Forms\forms.html" */ ?>
<?php /*%%SmartyHeaderCode:1280559d4970e29586-73091236%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3b733895929ee55854181ec9c6ee8a1617c71985' => 
    array (
      0 => 'D:\\WWW\\yf_qiaqia\\Admin\\View\\Forms\\forms.html',
      1 => 1436492645,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1280559d4970e29586-73091236',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_559d4971102309_60024204',
  'variables' => 
  array (
    '_C' => 0,
    'art' => 0,
    'id' => 0,
    'action' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_559d4971102309_60024204')) {function content_559d4971102309_60024204($_smarty_tpl) {?><!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/amazeui.min.css"/>
		<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['_C']->value['hy_path'];?>
css/hy.admin.css"/>
        <style type="text/css">
	       .hy-js-fieldarea label{ border: 2px solid #ddd; width: 100%;background: #ddd;height: 40px;border-radius: 4px;line-height: 30px;padding-left: 10px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
        </style>
	</head>
	<body>
	<div class="am-g">
		 <?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

		<div class="am-tabs am-margin" data-am-tabs="">
    <ul class="am-tabs-nav am-nav am-nav-tabs">
      <li class="am-active"><a hidefocus="true" href="#tab1">基本选项</a></li>
    </ul>


    <form class="am-tabs-bd am-form hy-js-form" style="touch-action: pan-y; -webkit-user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);">
      
      <div class="am-tab-panel am-fade am-active am-in" id="tab1">
          <div class="am-g am-margin-top">
            <div class="am-u-sm-2 am-text-right">
                  表单标题
            </div>
            <div class="am-u-sm-4 am-u-end">
              <input type="text" name="title" value="<?php echo $_smarty_tpl->tpl_vars['art']->value['name'];?>
" class="am-input-sm">
            </div>
          </div>

          

          <div class="am-g am-margin-top">
            <div class="am-u-sm-2 am-text-right">
                       提交间隔
            </div>
            <div class="am-u-sm-4 am-u-end">
               <div class="am-btn-group" data-am-button="">
					<label class=" am-btn am-btn-default am-btn-xs <?php if ($_smarty_tpl->tpl_vars['art']->value['submit_interval']==86400) {?>am-active<?php } else { ?><?php }?>">
						<input type="radio" name="interval" <?php if ($_smarty_tpl->tpl_vars['art']->value['submit_interval']==86400) {?>checked="checked" <?php } else { ?><?php }?> value="86400">
						一天
					</label>
					<label class="am-btn am-btn-default am-btn-xs <?php if ($_smarty_tpl->tpl_vars['art']->value['submit_interval']==10800) {?>am-active<?php } else { ?><?php }?>">
						<input type="radio" name="interval" <?php if ($_smarty_tpl->tpl_vars['art']->value['submit_interval']==10800) {?>checked="checked" <?php } else { ?><?php }?> value="10800"> 
						三小时
					</label>
					<label class="am-btn am-btn-default am-btn-xs <?php if ($_smarty_tpl->tpl_vars['art']->value['submit_interval']==-1) {?>am-active<?php } else { ?><?php }?>">
						<input type="radio" name="interval" <?php if ($_smarty_tpl->tpl_vars['art']->value['submit_interval']==-1) {?>checked="checked" <?php } else { ?><?php }?> value="-1"> 
						只能一次
					</label>
					<label class="am-btn am-btn-default am-btn-xs <?php if ($_smarty_tpl->tpl_vars['art']->value['submit_interval']==0) {?>am-active<?php } else { ?><?php }?>">
						<input type="radio" name="interval" <?php if ($_smarty_tpl->tpl_vars['art']->value['submit_interval']==0) {?>checked="checked" <?php } else { ?><?php }?> value="0"> 
						无限制
					</label>
				</div>
            </div>
          </div>

       <div class="am-g am-margin-top">
            <div class="am-u-sm-2 am-text-right">
              有效日期
            </div>
            <div class="am-u-sm-2">
             <div class="am-form-group am-form-icon">
                <i class="am-icon-calendar"></i>
                <input name="stime" data-am-datepicker value="<?php echo $_smarty_tpl->tpl_vars['art']->value['stime'];?>
" type="text" class="am-form-field am-input-sm" placeholder="开始时间">
              </div>
            </div>
            <div class="am-u-sm-2 am-u-end">
             <div class="am-form-group am-form-icon">
                <i class="am-icon-calendar"></i>
                <input name="etime" data-am-datepicker value="<?php echo $_smarty_tpl->tpl_vars['art']->value['etime'];?>
" type="text" class="am-form-field am-input-sm" placeholder="结束时间">
              </div>
            </div>
          </div>
      </div>
      
 		<input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['id']->value;?>
" />
    </form>
    <div class="am-margin">
    <button type="button" class="am-btn am-btn-primary hy-js-submit am-btn-xs">提交保存</button>
    
  </div>
  </div>
	</div>	
	  <?php echo $_smarty_tpl->getSubTemplate ('../Common/hy_footer.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

	  <script>
	  hy_submit('index.php?g=admin&m=forms&a=<?php echo $_smarty_tpl->tpl_vars['action']->value;?>
');
	  </script>
	</body>
</html>
<?php }} ?>
